package com.yl.auth.mapper;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yl.auth.entity.LaorenYaopin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.entity.Yaopin;
import com.yl.auth.model.vo.LaorenYaopinVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yl
 * @since 2023-06-25
 */
public interface LaorenYaopinMapper extends BaseMapper<LaorenYaopin> {


    List<LaorenYaopinVo> getYyjhsz(Long id);


    Yaopin getyaopin(Integer id);

    void updateYaopin(@Param("yaopin") Yaopin yaopin);
}
